home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianObjFunctions.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  74 lines

  1. /*ScianObjFunctions.h
  2.   Eric Pepke
  3.   April 9, 1992
  4.   External stuff for object functions*/
  5.  
  6. #define OF_PICK_UP        "Pick Up"
  7. #define OF_SHOW_CONTROLS    "Show Controls"
  8. #define OF_EDIT_PALETTE        "Edit Palette"
  9. #define OF_OPEN            "Open"
  10. #define OF_CONNECT_TO_PROCESS    "Connect to Process"
  11. #define OF_VISUALIZE        "Visualize"
  12. #define OF_VISUALIZE_AS        "Visualize As..."
  13. #define OF_MODIFY        "Modify..."
  14. #define OF_TURNON        "Turn On"
  15. #define OF_TURNOFF        "Turn Off"
  16. #define OF_DUPLICATE        "Duplicate"
  17. #define OF_DELETE        "Delete"
  18. #define OF_LOCALCOPY        "Detach Local Copy"
  19. #define OF_ACTIVATE        "Activate"
  20. #define OF_SETFORMAT        "Set Format"
  21. #define OF_SHOWINFO        "Show Info"
  22. #define OF_BRINGTOTOP        "Bring to Top"
  23. #define OF_PUSHTOBOTTOM        "Push to Bottom"
  24. #define OF_MOVETOBACKPANEL    "Move to Back Panel"
  25. #define OF_MOVETOFRONTPANEL    "Move to Front Panel"
  26. #define OF_ADVERTISE        "Publish Object"
  27. #define OF_UNADVERTISE        "Recall from Publication"
  28. #define OF_ALIGNLEFT        "Align Left"
  29. #define OF_ALIGNCENTER        "Align Center"
  30. #define OF_ALIGNRIGHT        "Align Right"
  31. #define OF_SETFONTSIZE        "Set Size"
  32. #define OF_SETFONT        "Set Font"
  33. #define OF_RENAME        "Rename..."
  34.  
  35. /*Undo types*/
  36. #define UT_NONE            0    /*No undo*/
  37. #define UT_CHANGESNAPSHOT    1    /*Change an object's snapshot*/
  38.  
  39. #ifdef PROTO
  40. void InitObjFunctions(void);
  41. void KillObjFunctions(void);
  42. void DoObjFunction(char *);
  43. void AdjustObjButtons(void);
  44. ObjPtr NewFunctionButton(WinInfoPtr, int, int, int, int, char *);
  45. Bool ObjFunctionScriptLine(char *);
  46. void LogObjFunction(char *, ObjPtr);
  47. void LogSelectedObjFunction(char *);
  48. void DoDoubleClickFunction(void);
  49. ObjPtr LogSpacedObject(ObjPtr);
  50. void Undo(void);
  51. ObjPtr NewUndo(int undoType);
  52. void BeginUndo(int undoType);
  53. void EndUndo(void);
  54. void SaveSnapshotForUndo(ObjPtr);
  55. void SaveForUndo(ObjPtr);
  56. #else
  57. void InitObjFunctions();
  58. void KillObjFunctions();
  59. void DoObjFunction();
  60. void AdjustObjButtons();
  61. ObjPtr NewFunctionButton();
  62. Bool ObjFunctionScriptLine();
  63. void LogObjFunction();
  64. void LogSelectedObjFunction();
  65. void DoDoubleClickFunction();
  66. ObjPtr LogSpacedObject();
  67. void Undo();
  68. ObjPtr NewUndo();
  69. void BeginUndo();
  70. void EndUndo();
  71. void SaveSnapshotForUndo();
  72. void SaveForUndo();
  73. #endif
  74.